﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FL.DBModule;
using FL.Lite;
/*
 实体类名称：t_sys_lib
 
 
 */

namespace FL.DBModule.Sys
{
    [Serializable]
    [Table("t_sys_custom_define_form", "id")]
    public class t_sys_custom_define_form : BaseEntity
    {
        [Column]
        public Guid id
        { get; set; }

        [Column]
        public string name
        {
            get;
            set;
        }

        [Column]
        public string code
        {
            get;
            set;
        }

        [Column]
        public string template_name
        {
            get;
            set;
        }

        [Column]
        public string master_table
        {
            get;
            set;
        }

        [Column]
        public string detail_json
        {
            get;
            set;
        }

        [Column]
        public string web_form_content
        {
            get;
            set;
        }

        [Column]
        public string mob_form_content
        {
            get;
            set;
        }
       
        [Column]
        public int status
        {
            get;
            set;
        }

        [Column]
        public int version
        {
            get;
            set;
        }


        [Column]
        public int pacth
        {
            get;
            set;
        }

        [Column]
        public Guid add_user
        {
            get;
            set;
        }
        [Column]
        public DateTime add_time
        {
            get;
            set;
        }
    }

    /// <summary>
    ///  明细表数据源设置类
    /// </summary>
    public class SysDetailsItem
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 明细表名
        /// </summary>
        public string DetailsTableName { get; set; }
        /// <summary>
        /// 主键字符串[可以多个主键用‘,‘,分开]
        /// </summary>
        public string PrimaryKey { get; set; }
    };
}
